<?php
return [
    'title' => '杭州姓方名芳文化创意有限公司',
    'pageSize' => 16,
    'admin' => [
        'title' => '杭州姓方名芳文化创意后台管理',
        'pageSize' => 20,
   ],
   'courses'=>['title' => '杭州姓方名芳文化创意有限公司',
    'pageSize' => 8,],
    'cacheTime' => 5,
    'items' => [
//        "admin" => [
//            "name" => "后台管理员",
//            "nav" => 1,
//            "data" => [
//                "description" => [
//                    "name" => "姓名",
//                    "type" => "input",
//                    "value" => "",
//                    "defalt" => "作者啥都没写，就把它发出来了",
//                    "attribute" => ""
//                ],
//                'username' => [
//                    'name' => '用户名',
//                    'type' => 'input',
//                    'value' => '',
//                    'default' => '',
//                    'attribute' => 'required'
//                ],
//                'password' => [
//                    "name" => "密码",
//                    "type" => "input",
//                    "value" => "",
//                    "defalt" => "作者啥都没写，就把它发出来了",
//                    "attribute" => "required"
//                ]
//            ],
//        ],
        "companyProfile" => [
            "name" => "公司简介",
            "nav" => 1,
            "data" => [
                "description" => [
                    "name" => "简介",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => ""
                ],
                'radioUrl' => [
                    'name' => '视频地址',
                    'type' => 'input',
                    'value' => '',
                    'default' => '',
                    'attribute' => ''
                ],
                'content' => [
                    "name" => "简介内容",
                    "type" => "UEdit",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => "required"
                ]
            ],
        ],
        "case" => [
            "name" => "案例图片",
            "nav" => 1,
            "data" => [
                'kind' => [
                    'name' => "类型",
                    'type' => "select",
                    "value" => ['BrandShow'=>'品牌展示','TechnicalTeam'=>'技术团队','StarPhoto'=>'明星合影'],
                    "defalt" => "BrandShow",
                    "attribute" => "required"
                ],
                "pic" => [
                    "name" => "图片",
                    "type" => "img",
                    "value" => "",
                    "defalt" => "",
                    "attribute" => "required"
                ],


            ],
        ],
        "study" => [
            "name" => "教学课堂",
            "nav" => 1,
            "data" => [
                'kind' => [
                    'name' => "课程",
                    'type' => "select",
                    "value" => ['新娘妆'=>'bride','半永久妆'=>'half'],
                    "defalt" => "新娘妆",
                    "attribute" => "required"
                ],
                "pic" => [
                    "name" => "图片",
                    "type" => "img",
                    "value" => "",
                    "defalt" => "",
                    "attribute" => "required"
                ],


            ],
        ],
         "news" => [
            "name" => "新闻管理",
            "nav" => 1,
            "data" => [
                "title" => [
                    "name" => "标题",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => "required"
                ],
                "kind" => [
                    "name" => "类型",
                    "type" => "select",
                    "value" => ['newest'=>'最新通告','companynews'=>'公司新闻','businessnews'=>'行业新闻'],
                    "defalt" => "female",
                    "attribute" => "required"
                ],
                "pic" => [
                    "name" => "图片",
                    "type" => "img",
                    "value" => "",
                    "defalt" => "",
                    "attribute" => "required"
                ],
                'content' => [
                    "name" => "简介内容",
                    "type" => "UEdit",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => "required"
                ]
            ],
        ],

        "pro" => [
            "name" => "作品展示",
            "nav" => 1,
            "data" => [
                "title" => [
                    "name" => "标题",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => "required"
                ],
                "writer" => [
                    "name" => "作者",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "",
                    "attribute" => "required"
                ],
                "kind" => [
                    "name" => "类型",
                    "type" => "select",
                    "value" => ['Bride makeup'=>'新娘妆','Semi-permanent makeup'=>'半永久妆'],
                    "defalt" => "Bride makeup",
                    "attribute" => "required"
                ],
                "pic" => [
                    "name" => "图片",
                    "type" => "img",
                    "value" => "",
                    "defalt" => "",
                    "attribute" => "required"
                ],

            ],
        ],
        "course" => [
            "name" => "培训管理",
            "nav" => 0,
            "data" => [
                "kind" => [
                    "name" => "培训内容",
                    "type" => "select",
                    "value" => ['Semi permanent installation training'=>'半永久妆培训','Bridal makeup training'=>'新娘妆培训'],
                    "defalt" => "Semi permanent installation training",
                    "attribute" => "required"
                ],
                "pic" => [
                    "name" => "图片",
                    "type" => "img",
                    "value" => "",
                    "defalt" => "",
                    "attribute" => "required"
                ],
                'content' => [
                    "name" => "内容说明",
                    "type" => "UEdit",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => "required"
                ]
            ]
        ],
        "student" => [
            "name" => "学员信息",
            "nav" => 0,
            "data" => [
                "name" => [
                    "name" => "姓名",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => "required"
                ],
                "sex" => [
                    "name" => "性别",
                    "type" => "select",
                    "value" => ['female'=>'女','male'=>'男'],
                    "defalt" => "female",
                    "attribute" => "required"
                ],
                "mobile" => [
                    "name" => "电话",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => "required"
                ],
                "qq" => [
                    "name" => "qq",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => ""
                ],
                "course" => [
                    "name" => "课程",
                    "type" => "select",
                    "value" => ['0'=>'新娘妆大专班','1'=>'半永久大专班'],
                    "defalt" => "0",
                    "attribute" => "required"
                ],
                "addr" => [
                    "name" => "地址",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => ""
                ],
                "channel" => [
                    "name" => "渠道",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "",
                    "attribute" => ""
                ],
                "messages" => [
                    "name" => "留言",
                    "type" => "textarea",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => ""
                ],

            ]
        ],
    ],
    'message' => [
        'required' => ':attribute不能为空',
        'url' => ':attribute不是有效的地址',
    ]
];
